﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace synoexec.synologylib.DataType
{
    public class BackupDeviceInfo
    {
        [JsonProperty("agent_token")]
        public string AgentToken { get; set; }
        [JsonProperty("agentless_auth_policy")]
        public string AgentLessAuthPolicy { get; set; }
        [JsonProperty("auto_discovery")]
        public bool AutoDiscovery { get; set; }
        [JsonProperty("backup_type")]
        public int BackupType { get; set; }
        [JsonProperty("create_time")]
        public long CreateTime { get; set; }
        [JsonProperty("device_id")]
        public int DeviceId { get; set; }
        [JsonProperty("host_ip")]
        public string HostIp { get; set; }
        [JsonProperty("host_name")]
        public string HostName { get; set; }
        [JsonProperty("host_port")]
        public int HostPort { get; set; }
        [JsonProperty("inventory_id")]
        public int InventoryId { get; set; }
        [JsonProperty("login_password")]
        public string LoginPassword { get; set; }
        [JsonProperty("login_time")]
        public long LoginTime { get; set; }
        [JsonProperty("login_user")]
        public string LoginUser { get; set; }
        [JsonProperty("login_user_id")]
        public int LoginUserId { get; set; }
        [JsonProperty("os_name")]
        public string OSName { get; set; }

    }
}
